package models

import (
	"lifi"
)

type SinkConfig *lifi.PluginConfig
type RunningSink struct {
	Config    SinkConfig `json:"config" yaml:"config"`
	Name      string     `json:"name" yaml:"name"`
	Order     int64      `json:"order" yaml:"order"`
	Sink      lifi.Sink
	Transfers RunningTransfers
}

func NewRunningSink(sink lifi.Sink, config SinkConfig) *RunningSink {
	return &RunningSink{
		Sink:   sink,
		Config: config,
	}
}
